home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / ASSOCS.PAK / MAKEFILE < prev   
Text File  |  1997-05-06  |  2KB  |  36 lines

  1. #--------------------------------------------------------------------------#
  2. #                                                                          #
  3. #   MAKEFILE for association examples                                      #
  4. #                                                                          #
  5. #   Copyright (c) 1994, 1996 Borland International                         #
  6. #   All Rights Reserved                                                    #
  7. #                                                                          #
  8. #   Usage:                                                                 #
  9. #       make MODEL=f                 for 32-bit Windows                    #
  10. #       make MODEL={m|l}             for 16-bit Windows                    #
  11. #       make MODEL={m|l}     -DDOS16 for 16-bit DOS                        #
  12. #                                                                          #
  13. #--------------------------------------------------------------------------#
  14.  
  15. !if $(SYSTEM)==WIN16 || $d(WIN16) || $(SYSTEM)==DOS16 || $d(DOS16) || !$d(SYSTEM)
  16.  MODELS = mlh
  17. !endif
  18. SYSTEMS = DOS16 WIN16 CON32
  19.  
  20. EXE    = assocdd
  21. EXEALL = assocdd.exe assocdi.exe associd.exe associi.exe associdd.exe
  22.  
  23. EXEMAKE= $(ASSOCDD) $(ASSOCDI) $(ASSOCID) $(ASSOCII) $(ASSOCIDD)
  24.  
  25. RULES  = myclass.obj: ..\myclass.cpp
  26.  
  27. ASSOCDD=$(EXERULE:assocdd.obj=assocdd.obj myclass.obj)
  28. ASSOCDI=$(ASSOCDD:assocdd=assocdi)
  29. ASSOCID=$(ASSOCDD:assocdd=associd)
  30. ASSOCII=$(ASSOCDD:assocdd=associi)
  31. ASSOCIDD=$(ASSOCDD:assocdd=associdd)
  32.  
  33.  
  34. !include $(BCEXAMPLEDIR)\bidsmake.gen
  35.  
  36.